package model;

public class Room {
private int rid;
private String address;
private int count;
private String type;
private int price;
private int hasRented;
private int id;//为了预约提醒设置

public void setRid(int rid) {this.rid=rid;}
public int getRid() {return rid;}

public void setAddress(String address) {this.address=address;}
public String getAddress() {return address;}

public void setCount(int count) {this.count=count;}
public int getCount() {return count;}

public void setType(String type) {this.type=type;}
public String getType() {return type;}

public void setPrice(int price) {this.price=price;}
public  int getPrice() {return price;}

public void setHasRented(int hasRented) {this.hasRented=hasRented;}
public int getHasRented() {return hasRented;}
public int getId() {
	return id;
}
public void setId(int id) {
	this.id = id;
}
public String toString() {
	return "房间类型: "+type+",   房间总数："+count+",   房间价格："+price+", 以入住间数："+hasRented+"  ";
}
}
